<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>label标签</title>
</head>
<body>
    <h1>label可以绑定一个元素，当点击label时可以自动将焦点(光标)转移到对应的元素</h1>
    <label for="name">用户名：</label><input type="text" id="name"><br>
    
    <label for="man">男</label><input type="radio" id="man" name="sex">
    <label for="nv">女</label><input type="radio" id="nv" name="sex">
</body>
</html>